package com.elbis.access.wg.api.response;

import java.io.Serializable;

public class WOTError implements Serializable {

	private static final long serialVersionUID = -4572398151829320827L;

	private String code = null;;

	private String message = null;

	private String field = null;

	private String value = null;

	@Override
	public String toString() {
		return "WOTError [code=" + code + ", message=" + message + ", field="
				+ field + ", value=" + value + "]";
	}

	/**
	 * @return the code
	 */
	public String getCode() {
		return code;
	}

	/**
	 * @param code
	 *            the code to set
	 */
	public void setCode(String code) {
		this.code = code;
	}

	/**
	 * @return the message
	 */
	public String getMessage() {
		return message;
	}

	/**
	 * @param message
	 *            the message to set
	 */
	public void setMessage(String message) {
		this.message = message;
	}

	/**
	 * @return the field
	 */
	public String getField() {
		return field;
	}

	/**
	 * @param field
	 *            the field to set
	 */
	public void setField(String field) {
		this.field = field;
	}

	/**
	 * @return the value
	 */
	public String getValue() {
		return value;
	}

	/**
	 * @param value
	 *            the value to set
	 */
	public void setValue(String value) {
		this.value = value;
	}

}
